package com.alaia.alaiaauth.controller;

import com.alaia.alaiacommoncore.web.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
public class LoginController {

    @ResponseBody
    @GetMapping("/loginaa")
    @ApiOperation(value = "分页查询用户")
    @PreAuthorize("@ps.permission('system:user:page')")
    public Result list(@RequestParam Map<String, Object> params){

        return Result.succeed("登录成功");
    }
}
